package org.dromara.school.domain.bo;

import org.dromara.school.domain.TeacherDiscipline;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 教师绑定学科业务对象 school_teacher_discipline
 *
 * @author Gjb
 * @date 2025-06-13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = TeacherDiscipline.class, reverseConvertGenerate = false)
public class TeacherDisciplineBo extends BaseEntity {

    /**
     *
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long teacherId;

    /**
     *
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long disciplineId;


}
